package com.example.demo.mapper;

import com.example.demo.entity.Teacher;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {

    int save(Teacher teacher);

    int delete(int tid);

    int update(Teacher teacher);

    List<Teacher> select();

    int register(Teacher teacher);

    List<Teacher> login();

}
